package com.yuanqi.java.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 采购订单明细VO
 * </p>
 *
 * @author author
 * @since 2025-01-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PurchaseOrderDetailVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 采购单ID
     */
    private Long orderId;

    /**
     * 采购单号
     */
    private String orderNo;

    /**
     * 供应商信息
     */
    private String supplierInfo;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 规格型号
     */
    private String specification;

    /**
     * 单位
     */
    private String unit;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 单价
     */
    private BigDecimal unitPrice;

    /**
     * 总价
     */
    private BigDecimal totalPrice;

    /**
     * 备注
     */
    private String remark;

    /**
     * 采购日期
     */
    private LocalDateTime purchaseDate;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
} 